﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    
					xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
					xmlns:Controls="clr-namespace:DanielVaughan.Calcium.Gui.Controls">

	<BooleanToVisibilityConverter x:Key="booleanToVisibilityConverter" />
	
	<Style TargetType="{x:Type Controls:SplashScreenView}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Controls:SplashScreenView}">
					<Grid Background="{TemplateBinding Background}" DataContext="{TemplateBinding DataContext}">
						<Grid.RowDefinitions>
							<RowDefinition Height="*"/>
							<RowDefinition Height="20" />
							<RowDefinition Height="20" />
						</Grid.RowDefinitions>						
						<StackPanel Grid.Row="1">
                            <!--<ListBox ItemsSource="{Binding Messages}" Width="100" Height="20" Foreground="Black">
                                <ListBox.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding Message}" />
                                    </DataTemplate>
                                </ListBox.ItemTemplate>
                            </ListBox>-->
                                <!--<TextBlock Name="PART_TextBlock_Feedback" />-->
							<!--<TextBlock Text="{Binding Test}" Foreground="Black"/>-->
						</StackPanel>
						<StackPanel Grid.Row="2" Orientation="Horizontal">							
							<Label Name="PART_Label_Blurb" 
								Visibility="{Binding BlurbVisible, Converter={StaticResource booleanToVisibilityConverter}}" 
								FontSize="11" Foreground="Gray" Padding="4"
								HorizontalContentAlignment="Right" VerticalContentAlignment="Bottom"
								Content="Fortified with Calcium http://www.CalciumSdk.net">
							</Label>							
						</StackPanel>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
</ResourceDictionary>